# -*- coding: utf-8 -*-
import cgi
import datetime
import wsgiref.handlers

from google.appengine.ext import db
import enhancedModel as em

class OptionModel ( em.EnhancedModel ):
	name  = db.StringProperty ()
	description = db.StringProperty ()
	value = db.StringProperty ()
	__prefix__ = 'Option'
		
	def showAllLink (self):
		return ("/options/showAll")
		
	def newLink (self):
		return ("/options/new")
		
	def deleteLink (self):
		return ("/options/delete/id/%d" % self.ident)
